/*
 * Copyright (C) 2020 The zfoo Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and limitations under the License.
 */

package com.zfoo.record.model.constant;

import com.zfoo.scheduler.util.TimeUtils;

/**
 * @author jaysunxiao
 * @version 1.0
 * @since 2021-03-02 18:19
 */
public abstract class RecordConstant {

    /**
     * 持久化默认的延迟时间
     */
    public static final long DEFAULT_DELAY = 10 * TimeUtils.MILLIS_PER_SECOND;

    /**
     * 持久化失败，重试最大次数
     */
    public static final int RETRY_TIMES = 1;

}
